<extend name="Public/base"/>

<block name="body">
    <style type="text/css">
    .uploadify {display: inline-block;}
    </style>
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2> 
        推送公告 【{$title}】
        <button class="btn btn-default btn-return" onclick="javascript:history.back(-1);return false;"><i class="glyphicon glyphicon-share-alt"></i> 返 回</button>
        </h2>
    </div>
    <form action="" method="post" class="form">
        <input type="hidden" name="id" value="{$id}"> 
        <div class="form-item form-group">
            <label class="item-label">内容<span class="check-tips">必填</span></label>
            <div class="controls">
                <input type="text" class="text form-control input-large" name="msg" value="{$title}">
            </div>
        </div>

        <div class="form-item form-group">
            <label class="item-label">设备类型</label>
            <div class="controls">
                <select name="plat">
                    <option value="" selected="selected">全部</option>
                    <option value="android">android</option>
                    <option value="ios">ios</option>
                </select>
            </div>
        </div>

        <div class="form-item form-group form-action">
            <button class="btn submit-btn ajax-post btn-success btn-block" id="submit" type="submit" target-form="form">确 定</button>
            <!-- <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button> -->
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('index')}');
    </script>
</block>